export type OrderData = {
  id: number;
  primary_id: number;
  status: number;
  order_no: string;
  user_id: number;
  shop_id: number;
  total_price: number;
  total_cost_price: number;
  total_profit: number;
  total_price_cash: number;
  total_price_integral: number;
  coupon_payed: number;
  consume_gold_payed: number;
  payment_type: number;
  payment_status: number;
  payment_trade_no: string;
  payment_success_time: string;
  payment_timeout_time: string;
  payment_message: string;
  cancel_time: string;
  shipping_time: string;
  complete_time: string;
  user_note: string;
  shipping_name: string;
  shipping_code: string;
  shipping_memo: string;
  address_id: number;
  addr_name: string;
  addr_phone: string;
  addr_detail: string;
  deleted: boolean;
  after_sales_id: number;
  account: string;
  create_time: string;
  total_subsidy_amount: number;
};

export type OrderItemData = {
  id: number;
  order_id: number;
  shop_id: number;
  cate_id: number;
  cate_ids: string;
  goods_id: number;
  goods_type: number;
  quantity: number;
  goods_name: string;
  goods_cover_url: string;
  spec_id: number;
  spec_key: string;
  spec_key_name: string;
  price_type: number;
  price: number;
  price_cost: number;
  price_cash: number;
  price_integral: number;
  total_price: number;
  total_price_cost: number;
  total_profit: number;
  total_price_cash: number;
  total_price_integral: number;
};
